-- GENERATED SPELL FOR [Diseased Wolf] --


function spell0_1817(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1817', 30340, 1)
end

function Sorts_1817(pUnit, Event)
local choix_sorts_1817 = math.random(0, 0)
if choix_sorts_1817 == 0 then
pUnit:RegisterEvent('spell0_1817', 1, 1)
end
end

function mob1817_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1817', math.random(1500, 3000), 1)
end

function mob1817_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1817_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1817_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1817, 1, 'mob1817_Action')
RegisterUnitEvent(1817, 2, 'mob1817_Leave')
RegisterUnitEvent(1817, 3, 'mob1817_Kill')
RegisterUnitEvent(1817, 4, 'mob1817_Die')
